package com.it.tydic.estate.module.mapper.inner;

import com.github.pagehelper.Page;
import com.it.tydic.estate.common.base.BaseMapper;
import com.it.tydic.estate.module.model.inner.Guanlichu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GuanlichuMapper extends BaseMapper<Guanlichu> {
    /**
     * 条件分页查询
     * @param map
     * @return
     */
    Page<Guanlichu> selectList(Map<String,Object> map);

    /**
     *
     * 批量删除
     * @param list
     * @return
     */
    int deleteBatch(List<String> list);

    /**
     *查询小区和小区所属楼宇
     * @return
     */
    List<Guanlichu> queryTree();
}